<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>INDEX</title>
    <script src="./index.css"></script>
    <!-- 导入外部的字体资源 -->
    <link href='https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css' rel='stylesheet'>
</head>
<body>
    <!-- 这是一个响应式的登录和注册页面，可以适配不同的页面去改变页面的大小 -->

    <!-- 登录页面 -->
    <div class="container">
        <div class="form-box login">
            <form action="">
                <h1>Login</h1>
                <div class="index-box">
                    <input type="text" class="index" placeholder="Username" required>
                    <i class='bx bx-user'></i>
                </div>
                <div class="index-box">
                    <input type="password" class="index" placeholder="Password" required>
                    <i class='bx bxs-lock-alt' ></i>
                </div>
                <div class="forgot-link">
                    <a href="#"> Forgot password?</a>
                </div>
                <button type="submit" class="btn">Login</button>
                <p>or login with social platforms</p>
                <div class="social-icons">
                    <a href="#"><i class='bx bxl-google' ></i></a>
                    <a href="#"><i class='bx bxl-facebook'></i></a>
                    <a href="#"><i class='bx bxl-github' ></i></a>
                    <a href="#"><i class='bx bx-link-alt' ></i></a>
                </div>
            </form>
        </div>

        <!-- 注册页面 -->
        <div class="form-box register">
            <form action="">
                <h1>Registation</h1>
                <div class="index-box">
                    <input type="text" class="index" placeholder="Username" required>
                    <i class='bx bx-user'></i>
                </div>

                <div class="index-box">
                    <input type="email" class="index" placeholder="Email" required>
                    <i class='bx bxs-envelope' ></i>
                </div>

                <div class="index-box">
                    <input type="password" class="index" placeholder="Password" required>
                    <i class='bx bxs-lock-alt' ></i>
                </div>
                <button type="submit" class="btn">register</button>
                <p>or register with social platforms</p>
                <div class="social-icons">
                    <a href="#"><i class='bx bxl-google' ></i></a>
                    <a href="#"><i class='bx bxl-facebook'></i></a>
                    <a href="#"><i class='bx bxl-github' ></i></a>
                    <a href="#"><i class='bx bx-link-alt' ></i></a>
                </div>
            </form>
        </div>

        <div class="toggle-box">
            <dov class="toggle-panel toeele-left">
                <h1>Hello , WelCome!</h1>
                <p>Don't have an account?</p>
                <button class="btn register-btn">Register</button>
            </dov>
            <dov class="toggle-panel toeele-right">
                <h1>WelCome back!</h1>
                <p>Already have an account?</p>
                <button class="btn login-btn">Login</button>
            </dov>
        </div>

    </div>
    <script src="index.js"></script>
</body>
</html>